import json
import requests

s1 = json.load('filename')
with open('./herolist.json',encoding='utf-8') as f:
    line = f.readline()
    d=json.loads(line)
    name = d['ename']
    print(name)




# payload = {'key1': 'value1', 'key2': 'value2'}


# r = requests.post("https://pvp.qq.com/web201605/js/herolist.json")
# print(r.text)


# print(r.text)
# print(r.ename)



# "game.gtimg.cn/images/yxzj/img201606/heroimg/"+ +"/"+  +".jpg"